#include<iostream>
#include<vector>

using std::cout;
using std::endl;
using std::vector;

using namespace std;

int main13(){
	vector<char> container;
	container.push_back('a');
	container.push_back('b');
	container.push_back('c');
	vector<char>::iterator p;

	for(p=container.begin();p!=container.end();p++){
		cout<<*p<<" ";
	}
	cout<<endl;
	cout<<"Reverse:\n";

	vector<char>::reverse_iterator rp;

	for(rp=container.rbegin();rp!=container.rend();rp++){
		cout<<*rp<<" ";
	}
	cout<<endl;
	cin.get();
	cin.ignore();
	return 0;
}
